\(\int \frac {1}{\arccos (a x)^2} \, dx\) [57]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [F]
   Sympy [F]
   Maxima [F]
   Giac [A] (verification not implemented)
   Mupad [F(-1)]

Optimal result

Integrand size = 6, antiderivative size = 35 \[ \int \frac {1}{\arccos (a x)^2} \, dx=\frac {\sqrt {1-a^2 x^2}}{a \arccos (a x)}-\frac {\operatorname {CosIntegral}(\arccos (a x))}{a} \]

[Out]

-Ci(arccos(a*x))/a+(-a^2*x^2+1)^(1/2)/a/arccos(a*x)

Rubi [A] (verified)

Time = 0.05 (sec) , antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {4718, 4810, 3383} \[ \int \frac {1}{\arccos (a x)^2} \, dx=\frac {\sqrt {1-a^2 x^2}}{a \arccos (a x)}-\frac {\operatorname {CosIntegral}(\arccos (a x))}{a} \]

[In]

Int[ArcCos[a*x]^(-2),x]

[Out]

Sqrt[1 - a^2*x^2]/(a*ArcCos[a*x]) - CosIntegral[ArcCos[a*x]]/a

Rule 3383

Int[sin[(e_.) + (f_.)*(x_)]/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[CosIntegral[e - Pi/2 + f*x]/d, x] /; FreeQ
[{c, d, e, f}, x] && EqQ[d*(e - Pi/2) - c*f, 0]

Rule 4718

Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_), x_Symbol] :> Simp[(-Sqrt[1 - c^2*x^2])*((a + b*ArcCos[c*x])^(n +
1)/(b*c*(n + 1))), x] - Dist[c/(b*(n + 1)), Int[x*((a + b*ArcCos[c*x])^(n + 1)/Sqrt[1 - c^2*x^2]), x], x] /; F
reeQ[{a, b, c}, x] && LtQ[n, -1]

Rule 4810

Int[((a_.) + ArcCos[(c_.)*(x_)]*(b_.))^(n_.)*(x_)^(m_.)*((d_) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> Dist[(-(b*c^
(m + 1))^(-1))*Simp[(d + e*x^2)^p/(1 - c^2*x^2)^p], Subst[Int[x^n*Cos[-a/b + x/b]^m*Sin[-a/b + x/b]^(2*p + 1),
 x], x, a + b*ArcCos[c*x]], x] /; FreeQ[{a, b, c, d, e, n}, x] && EqQ[c^2*d + e, 0] && IGtQ[2*p + 2, 0] && IGt
Q[m, 0]

Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt {1-a^2 x^2}}{a \arccos (a x)}+a \int \frac {x}{\sqrt {1-a^2 x^2} \arccos (a x)} \, dx \\ & = \frac {\sqrt {1-a^2 x^2}}{a \arccos (a x)}-\frac {\text {Subst}\left (\int \frac {\cos (x)}{x} \, dx,x,\arccos (a x)\right )}{a} \\ & = \frac {\sqrt {1-a^2 x^2}}{a \arccos (a x)}-\frac {\operatorname {CosIntegral}(\arccos (a x))}{a} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.04 (sec) , antiderivative size = 35, normalized size of antiderivative = 1.00 \[ \int \frac {1}{\arccos (a x)^2} \, dx=\frac {\sqrt {1-a^2 x^2}}{a \arccos (a x)}-\frac {\operatorname {CosIntegral}(\arccos (a x))}{a} \]

[In]

Integrate[ArcCos[a*x]^(-2),x]

[Out]

Sqrt[1 - a^2*x^2]/(a*ArcCos[a*x]) - CosIntegral[ArcCos[a*x]]/a

Maple [A] (verified)

Time = 0.53 (sec) , antiderivative size = 32, normalized size of antiderivative = 0.91

method result size
derivativedivides \(\frac {\frac {\sqrt {-a^{2} x^{2}+1}}{\arccos \left (a x \right )}-\operatorname {Ci}\left (\arccos \left (a x \right )\right )}{a}\) \(32\)
default \(\frac {\frac {\sqrt {-a^{2} x^{2}+1}}{\arccos \left (a x \right )}-\operatorname {Ci}\left (\arccos \left (a x \right )\right )}{a}\) \(32\)

[In]

int(1/arccos(a*x)^2,x,method=_RETURNVERBOSE)

[Out]

1/a*((-a^2*x^2+1)^(1/2)/arccos(a*x)-Ci(arccos(a*x)))

Fricas [F]

\[ \int \frac {1}{\arccos (a x)^2} \, dx=\int { \frac {1}{\arccos \left (a x\right )^{2}} \,d x } \]

[In]

integrate(1/arccos(a*x)^2,x, algorithm="fricas")

[Out]

integral(arccos(a*x)^(-2), x)

Sympy [F]

\[ \int \frac {1}{\arccos (a x)^2} \, dx=\int \frac {1}{\operatorname {acos}^{2}{\left (a x \right )}}\, dx \]

[In]

integrate(1/acos(a*x)**2,x)

[Out]

Integral(acos(a*x)**(-2), x)

Maxima [F]

\[ \int \frac {1}{\arccos (a x)^2} \, dx=\int { \frac {1}{\arccos \left (a x\right )^{2}} \,d x } \]

[In]

integrate(1/arccos(a*x)^2,x, algorithm="maxima")

[Out]

-(a^2*arctan2(sqrt(a*x + 1)*sqrt(-a*x + 1), a*x)*integrate(sqrt(a*x + 1)*sqrt(-a*x + 1)*x/((a^2*x^2 - 1)*arcta
n2(sqrt(a*x + 1)*sqrt(-a*x + 1), a*x)), x) - sqrt(a*x + 1)*sqrt(-a*x + 1))/(a*arctan2(sqrt(a*x + 1)*sqrt(-a*x
+ 1), a*x))

Giac [A] (verification not implemented)

none

Time = 0.27 (sec) , antiderivative size = 33, normalized size of antiderivative = 0.94 \[ \int \frac {1}{\arccos (a x)^2} \, dx=-\frac {\operatorname {Ci}\left (\arccos \left (a x\right )\right )}{a} + \frac {\sqrt {-a^{2} x^{2} + 1}}{a \arccos \left (a x\right )} \]

[In]

integrate(1/arccos(a*x)^2,x, algorithm="giac")

[Out]

-cos_integral(arccos(a*x))/a + sqrt(-a^2*x^2 + 1)/(a*arccos(a*x))

Mupad [F(-1)]

Timed out. \[ \int \frac {1}{\arccos (a x)^2} \, dx=\int \frac {1}{{\mathrm {acos}\left (a\,x\right )}^2} \,d x \]

[In]

int(1/acos(a*x)^2,x)

[Out]

int(1/acos(a*x)^2, x)